home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / fx / grenexp_stone.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.8 KB  |  103 lines

  1. TIKI
  2. setup
  3. {
  4.     scale 1.0
  5.     path models/fx/dummy
  6.     skelmodel dummy2.skd
  7. }
  8.  
  9. init
  10. {
  11.     client
  12.     {
  13.         cache mortar_snowHit.spr
  14.         cache mortar_dirtHit.spr
  15.         cache snowclump.spr
  16.         cache vsssource_new.spr
  17.         
  18.         sfx sound grenade_explode
  19.  
  20.         //Large card with scrolling texture -SNOW-
  21.         sfx originspawn
  22.         (
  23.             model mortar_snowHit.spr
  24.             color .55 .51 .5
  25.             spritegridlighting
  26.             count 1
  27.             life 1.8
  28.             scale .1
  29.             scalerate 8
  30.             randvel 0 0 220
  31.             accel 0 0 -1500
  32.             offset 0 0 48
  33.             fadedelay .8
  34.             physicsrate every
  35.         )
  36.  
  37.         //Large card with scrolling texture -DIRT-
  38.         sfx originspawn
  39.         (
  40.             model mortar_dirtHit.spr
  41.             color .55 .51 .5
  42.             count 1
  43.             life .85
  44.             scale .22
  45.             scalerate 7
  46.             randvel 0 0 220
  47.             accel 0 0 -1400
  48.             offset 0 0 48
  49.             fadedelay .7
  50.             offset 0 0.1 48
  51.             physicsrate every
  52.         )
  53.  
  54.         //  Cloudy material
  55.         sfx originspawn
  56.         (
  57.             count 15
  58.             model vsssource_new.spr
  59.             color .55 .51 .5
  60.             spritegridlighting
  61.             alpha .45
  62.             offset crandom 8 crandom 8 range -9 48
  63.             angles crandomr 45 crandom 45 crandom 360
  64.             randvel crandom 25 crandom 25 range 50 0
  65.             clampvel -75 75 -75 75 -200 99999
  66.             avelocity 0 0 crandom 180
  67.             accel 0 0 -300
  68.             life 3 .8
  69.             scalemin .5
  70.             scalemax 1
  71.             scalerate 3.5
  72.         )
  73.  
  74.  
  75.         //Separate chunks of snow        
  76.         sfx originspawn
  77.         (
  78.             spawnrange 750
  79.             model snowclump.spr
  80.             color .55 .51 .5
  81.             spritegridlighting
  82.             count 10
  83.             alpha 0.85
  84.             scale 0.15
  85.             life 1.5
  86.             randvel crandom 100 crandom 100 range 100 300
  87.             accel 0 0 -2000
  88.             offset crandom 10 crandom 10 random 10
  89.             angles 10 10 10
  90.             avelocity crandom 400 crandom 400 crandom 300
  91.             scalemin 0.25
  92.             scalemax 0.5
  93.             fadedelay 2
  94.         )
  95.     }
  96. }
  97.  
  98. // This section is just needed to be a valid tiki file
  99. animations
  100. {
  101.     idle dummy2.skc 
  102. }
  103.